################################################
#
# BiscuitOS-PAGING-PROC-SMAPS-PSS
#
################################################
PK_PAGING_PROC_SMAPS_PSS_NAME        := BiscuitOS-PAGING-PROC-SMAPS-PSS
PK_PAGING_PROC_SMAPS_PSS_VERSION     := $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_VERSION)
PK_PAGING_PROC_SMAPS_PSS_SITE        := $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_URL)
PK_PAGING_PROC_SMAPS_PSS_GITHUB      := $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_GITHUB)
PK_PAGING_PROC_SMAPS_PSS_SUBNAME     :=
PK_PAGING_PROC_SMAPS_PSS_BUILDARCH   := $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_BUILDARCH)
PK_PAGING_PROC_SMAPS_PSS_DIR         := $(srctree)/package/PAGING/BiscuitOS-PAGING-PROC-SMAPS-PSS
PK_PAGING_PROC_SMAPS_PSS_PATCH       := $(PK_PAGING_PROC_SMAPS_PSS_DIR)/patch
PK_PAGING_PROC_SMAPS_PSS_BSBIT       := BiscuitOS-PAGING-PROC-SMAPS-PSS-$(PK_PAGING_PROC_SMAPS_PSS_VERSION).bsbit
PK_PAGING_PROC_SMAPS_PSS_OUT         :=
PK_PAGING_PROC_SMAPS_PSS_SCRIPTS     := $(srctree)/scripts/package/package-app.sh
PK_PAGING_PROC_SMAPS_PSS_TAR         := $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_TAR)
PK_PAGING_PROC_SMAPS_PSS_PACKAGE     :=
PK_PAGING_PROC_SMAPS_PSS_CONFIG      := $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_CONFIG)
SUB_TARGET                  += $(PK_PAGING_PROC_SMAPS_PSS_DIR)/build

PK_PAGING_PROC_SMAPS_PSS_sh = $(CONFIG_SHELL) $(PK_PAGING_PROC_SMAPS_PSS_SCRIPTS) \
                 $1X \
                 $(PK_PAGING_PROC_SMAPS_PSS_NAME)X \
                 $(PK_PAGING_PROC_SMAPS_PSS_VERSION)X \
                 $(PK_PAGING_PROC_SMAPS_PSS_SITE)X \
                 $(PK_PAGING_PROC_SMAPS_PSS_GITHUB)X \
                 $(PK_PAGING_PROC_SMAPS_PSS_PATCH)X \
                 $(CONFIG_LINUX_KERNEL_VERSION)X \
	         $(CONFIG_MAIN_PROJ_NAME)X \
                 $(PK_PAGING_PROC_SMAPS_PSS_TAR)X \
                 $(CONFIG_LINUX_KERNEL_CROSS_COMPILE)X \
                 $(PK_PAGING_PROC_SMAPS_PSS_SUBNAME)X \
                 $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_CONFIG)X \
                 $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_LIBPATH)X \
                 $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_CPPFLAGS)X \
                 $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_DPKCONFIG)X \
                 $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_CFLAGS)X \
                 $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_LDFLAGS)X \
                 $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_CXXFLAGS)X \
                 $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_ASFLAGS)X \
                 $(PK_PAGING_PROC_SMAPS_PSS_BSBIT)X \
                 $(PK_PAGING_PROC_SMAPS_PSS_BUILDARCH)X \
		 $(PK_PAGING_PROC_SMAPS_PSS_CSRCFILE)X \
                 $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_SRCFILE)X \
                 $(CONFIG_PK_PAGING_PROC_SMAPS_PSS_CSRCFILE)

$(PK_PAGING_PROC_SMAPS_PSS_DIR)/build: FORCE
	$(Q)$(call PK_PAGING_PROC_SMAPS_PSS_sh,$(srctree))
